<foreach name="malls" item="m">
    <div class="mallist box_shadow">
        <div class="m_name">
            <a href="{$m.url}">
                <img src="{$m.image_url}">
            </a>
        </div>
        <foreach name="m['ad']" item="o">
            <div class="m_zt">
                <a href="{$o.ad_url}">
                    <img alt="{$o.keyword}" src="__STATIC__/img/grey.gif" data-src="{$o.image_url}" class="lazy"/>
                </a>
            </div>
        </foreach>
        <ul class="m_small">
            <foreach name="m['ad_new']" item="o">
                <if condition="$o['image_url']">
                    <li>
                        <a href="{$o.ad_url}">
                            <img alt="{$o.keyword} {$o.title}" src="__STATIC__/img/grey.gif" data-src="{$o.image_url}"  class="lazy"/>
                        </a>
                    </li>
                </if>
            </foreach>
        </ul>
        <div class="fn-clear"></div>
    </div>
</foreach>